package com.example.data0306.Adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.example.data0306.R;
import com.example.data0306.bean.MineBean;

import org.jetbrains.annotations.NotNull;

public class MineAdapter extends BaseQuickAdapter<MineBean, BaseViewHolder> {

    public MineAdapter() {
        super(R.layout.view_zhanji01);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, MineBean mineBean) {

        baseViewHolder.setText(R.id.mine02,mineBean.getTitle1());
        baseViewHolder.setText(R.id.mine05,mineBean.getTitle2());
        baseViewHolder.setText(R.id.mine06,mineBean.getTitle3());
        baseViewHolder.setText(R.id.mine07,mineBean.getTitle4());
        baseViewHolder.setText(R.id.mine08,mineBean.getTitle5());
        baseViewHolder.setText(R.id.mine09,mineBean.getTitle6());
        baseViewHolder.setText(R.id.mine011,mineBean.getTitle7());
        baseViewHolder.setText(R.id.mine012,mineBean.getTitle8());
        baseViewHolder.setText(R.id.mine013,mineBean.getTitle9());


        //baseViewHolder.setImageResource(R.id.img_cover,R.drawable.icon_navigation_head_info_bg);
//        baseViewHolder.setImageResource(R.id.img_cover,mineBean.getIcon());
//        baseViewHolder.setText(R.id.tv_tag,"LOL");
//        baseViewHolder.setText(R.id.tv_article_user,"史努比");
//        baseViewHolder.setText(R.id.tv_view_number,"12332");
    }
}

